projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9f9f009
)
cmd_mem: Store last address/size/etc as ulong
author
Scott Wood
<
[email protected]
>
Thu, 19 Mar 2015 16:43:12 +0000
(09:43 -0700)
committer
York Sun
<
[email protected]
>
Thu, 23 Apr 2015 15:55:54 +0000
(08:55 -0700)
Otherwise the high 32 bits get truncated on 64-bit U-boot.
Signed-off-by: Scott Wood <
[email protected]
>
Reviewed-by: Simon Glass <
[email protected]
>
Reviewed-by: York Sun <
[email protected]
>
common/cmd_mem.c
patch
|
blob
|
history
diff --git
a/common/cmd_mem.c
b/common/cmd_mem.c
index 45e471ca82bae8efd9fe49e050bcd5a20a86cb6c..5d8c9e6c061c31dcf7fb2f50374d02e5dd72ceb1 100644
(file)
--- a/
common/cmd_mem.c
+++ b/
common/cmd_mem.c
@@
-36,9
+36,9
@@
static int mod_mem(cmd_tbl_t *, int, int, int, char * const []);
/* Display values from last command.
* Memory modify remembered values are different from display memory.
*/
-static u
int
dp_last_addr, dp_last_size;
-static u
int
dp_last_length = 0x40;
-static u
int
mm_last_addr, mm_last_size;
+static u
long
dp_last_addr, dp_last_size;
+static u
long
dp_last_length = 0x40;
+static u
long
mm_last_addr, mm_last_size;
static ulong base_address = 0;